<#import "/include/ui.ftl" as blue />

	<div class="am-u-sm-12">
		<table class="am-table am-table-striped am-table-hover">
			<thead>
			<tr>
				<th width="60">序号</th>
				<th width="200">帐号</th>
				<th width="300">密钥</th>
				<th>描述</th>
				<th width="200">创建时间</th>
				<th width="100">状态</th>
				<th width="170">操作</th>
			</tr>
			</thead>
			<tbody>
			<#list page.objectList as vo>
			<tr>
				<td>${vo_index+1}</td>
				<td title="${vo.name!}">${vo.name!}</td>
				<td title="${vo.secret!}">${vo.secret!}</td>
				<td title="${vo.descp!}">${vo.descp!}</td>
				<td title="${vo.createTime?datetime}">${vo.createTime?datetime}</td>
				<td>${vo.state!}</td>
				<td>
					<div class="am-btn-group">
						<a href="${path}/open/account_get?id=${vo.id}" class="am-btn am-btn-primary am-btn-sm am-radius">编辑</a>
						<a href="${path}/open/role_account_get?id=${vo.id}" class="am-btn am-btn-danger am-btn-sm am-radius">编辑角色</a>
					</div>
				</td>
			</tr>
			</#list>
			</tbody>
		</table>
	</div>
	
	<@blue.pagebar page=page url="/open/account_list" />